/*
 *  Copyright 2019-2020  Sun Feng
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.ruibo.modules.quartz.service.dto;

import lombok.Data;

import java.sql.Timestamp;
import java.io.Serializable;

/**
 * @author Sun Feng
 * @website https://el-admin.vip
 * @description /
 * @date 2020-07-16
 **/
@Data
public class QuartzLogDto implements Serializable {

    /**
     * 主键
     */
    private Long id;

    /**
     * 任务名称
     */
    private String jobName;

    /**
     * 实体名称
     */
    private String beanName;

    /**
     * 方法名称
     */
    private String methodName;

    /**
     * 参数
     */
    private String params;

    /**
     * 任务表达式
     */
    private String cronExpression;
    /**
     * 负责人
     */

    private String personInCharge;

    /**
     * 报警邮箱
     */
    private String email;
    /**
     * 失败后暂停
     */
    private Boolean pauseAfterFailure;

    /**
     * 是否成功
     */
    private Boolean isSuccess;

    /**
     * 执行详情
     */
    private String exceptionDetail;

    /**
     * 执行时间
     */
    private Long time;

    /**
     * 创建时间
     */
    private Timestamp createTime;
}
